package com.zhaojun.cloud.service.redis;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages="com")
@EnableEurekaClient
//redis 服务器要不要数据库再说
//@MapperScan("com.zhaojun.cloud.common.mapper.mapper")
public class ZhaojunCloudServiceRedisApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhaojunCloudServiceRedisApplication.class, args);
    }
}
